Software Development
Fundamentals of the C Language
Fundamentals of the C Language: Arrays, Accepting Input, & Returning Output
Fundamentals of the C Language: Getting Started
Fundamentals of the C Language: Variables & Datatypes

Fundamentals of the C Language: Arrays, Accepting Input, & Returning Output

Course Number:
it_cpfcladj_03_enus
Lesson Objectives

Fundamentals of the C Language: Arrays, Accepting Input, & Returning Output

  • discover the key concepts covered in this course
  • identify array datatypes in C
  • create multi-dimensional arrays
  • print out floating-point types
  • demonstrate the use of the scanf function
  • demonstrate the use of the getchar(), putchar(), gets(), and puts() functions
  • demonstrate the use of the fgets(), fputs(), fscanf(), and fprintf()
  • summarize the key concepts covered in this course

Overview/Description
Arrays in C are important data structures that provide a convenient way to access multiple elements of the same data. C arrays are indexed using integers starting from 0 and reside in a contiguous chunk of memory. Arrays are also closely related to pointers, another important building block in the C language. Start this course by learning how to create, populate, and access elements of arrays. Discover how to declare variables of array types, initialize those arrays with data, and get and set the values of elements of arrays. Create multidimensional arrays and work with strings as arrays of characters. Next, learn how to print values using output functions such as printf, putchar, puts, and fprintf. Explore the different format specifiers used to represent data types in printf and how to enumerate the strengths and weaknesses of these different output functions. Finally, learn about accepting user input using library functions such as scanf, gets, fgets, and getchar.

Target

Prerequisites: none

Fundamentals of the C Language: Getting Started

Course Number:
it_cpfcladj_01_enus
Lesson Objectives

Fundamentals of the C Language: Getting Started

  • discover the key concepts covered in this course
  • outline the history and features of C
  • compare the C and C++ languages
  • recall the compilation process of C
  • identify steps of C’s compilation and linking processes
  • explore the available IDEs and compilers for C
  • set up the C compiler and download VSCode for mac
  • install mingw and VSCode on Windows
  • demonstrate writing, compiling, and running C code on mac and windows
  • run C code and view its results
  • identify compiler and linker errors in C
  • summarize the key concepts covered in this course

Overview/Description
The C programming language has retained its relevance for close to 50 years. The code for most major operating systems and performance-critical server code in some leading data solutions continues to be written in the C language. In this course, you will begin by learning about the basic properties of C, the compilation process of the C language, and common IDEs used to write C code. Next, discover how to install the Clang compiler for compiling and running C on Mac and the Visual Studio Code IDE to write C code. Next, set up the minGW compiler for C on Windows. Finally, explore the basic syntax of C code, write and compile code and view its results, and explore the warnings and errors that occur when the syntax is violated.

Target

Prerequisites: none

Fundamentals of the C Language: Variables & Datatypes

Course Number:
it_cpfcladj_02_enus
Lesson Objectives

Fundamentals of the C Language: Variables & Datatypes

  • discover the key concepts covered in this course
  • introduce variables in C
  • demonstrate limits on sizes of shorts, integers, and longs
  • differentiate between signed and unsigned variables
  • demonstrate variable conventions and syntax
  • compate variables and constants
  • perform math operations with arithmetic operators
  • demonstrate the use of ==, !=, <, > relational operators
  • demonstrate how to check for equality between non-integral types
  • demonstrate the use of logical operators
  • demonstrate the use of pre- and post-increment operators
  • perform math operations on variables with assignment operators
  • summarize the key concepts covered in this course

Overview/Description
The C programming language is statically typed, which means that all variables have an associated type specified in the code. The C compiler will rigorously check that values stored in these variables match the declared types. In this respect, C differs from popular languages such as Javascript and Python where the types of variables can be inferred at runtime. You will start this course by learning the basics of variables in C. Learn about the data types that can be stored in those variables and how to use arithmetic operators to perform mathematical operations between literals and on variables. Discover basic arithmetic operators, then progress to unary and assignment operators. Finally, explore relational and logical operators in C and discover how to use relational operators to compare two numbers, and logical operators such as AND, OR, and NOT to combine predicates.

Target

Prerequisites: none

Close Chat Live